package com.network.service;

import java.util.ArrayList;

import com.network.entity.Page;
import com.network.entity.User;
import com.network.entity.UserQryHelper;

/**
 * 
 * @author Ling Xiaowei
 *
 */
public interface IUserService {
	
	public void saveOrUpdateUser(User user);

	public void deleteUser(User user);

	public User getUserById(String id);
	
	public void deleteUserById(String id);
	
	public boolean isUsernameExisted(String id);
	
	public ArrayList<User> qryUser(Page p, UserQryHelper helper);

}
